package online.rainy.dbhomework.pojo;

public class Student {
    private int sid;
    private String sname;
    private int age;
    private String sex;

    @Override
    public String toString() {
        return "(" + sid + ", " + sname + ", " + age + ", " + sex + ")";
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public int getSid() {
        return sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
